<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    if (path.length() > 0) path = path.substring(0, path.length() - 1);
%>

<jsp:include flush="true" page="/view/inc/incTop.jsp"/>
<!-- head-->
<script language="javascript">
    function back1() {
        window.history.go(-1);
    }
</script>
<div class="container well" style="background:#fff;padding-top:0px;">
    <p class="bg-success">
    <h2 align="center">恭喜您，订单提交成功！</h2>
    </p>

    <div class="row" style="margin-left:-19px;margin-right:-19px;">
        <hr style="margin-top:0">
        <div class="col-sm-4 col-md-offset-4">
            <table class="table table-bordered table-hover">
                <tr>
                    <td>订单编号：<s:property value="#request.order.orderNumber"/></td>
                </tr>
                <tr>
                    <td>总金额：<s:property value="#request.order.orderPrice"/></td>
                </tr>
                <tr>
                    <td>下单日期:<s:property value="#request.order.orderDate"/></td>
                </tr>
                <tr>
                    <td>发货邮箱:<s:property value="#request.order.orderEmail"/></td>
                </tr>
                <tr>
                    <td>付款方式:
                        <s:if test="#request.order.orderPayType==0">支付宝</s:if>
                        <s:if test="#request.order.orderPayType==1">银行账户</s:if>
                        <s:if test="#request.order.orderPayType>1">其他</s:if></td>
                </tr>
            </table>
        </div>

    </div>
    <div class="row">
        <div class="col-md-3 col-md-offset-9">
            <td>
                <a href="<%=path %>/order/myOrder.action" class="btn btn-default">
                    查看订单
                </a>
            </td>
            <td>
                <a href="<%=path %>/" class="btn btn-success">
                    返回首页
                </a>
            </td>
        </div>
    </div>
</div>
<!--body-->


<!--foot -->
<jsp:include flush="true" page="/view/inc/incFoot.jsp"/>

